package com.fy.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.fy.common.dto.MemberGroupInfoEditDto;
import com.fy.common.entity.SkImGroupMember;
import com.fy.common.vo.GroupMemberVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SkImGroupMemberMapper extends BaseMapper<SkImGroupMember> {
    void memberGroupInfoEdit(MemberGroupInfoEditDto groupInfoEditDto);

    List<SkImGroupMember> getGroupMembersByGroupId(@Param("groupId") Long groupId);

    void updateGroupMemberCount(@Param("groupId") Long groupId, @Param("count") int count);

    List<GroupMemberVo> groupMember(@Param("id") Long id);
}